package com.itheima.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.itheima.constant.MessageConstant;
import com.itheima.dao.CheckItemDao;
import com.itheima.dao.RoleManagerDao;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.Role;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 检查项服务
 */

@Service(interfaceClass = RoleManagerService.class)
@Transactional
public class RoleManagerServiceImpl implements RoleManagerService {
    @Autowired
    private RoleManagerDao roleManagerDao;

    public List<Role> findAll() {
        return roleManagerDao.findAll();
    }

    //根据检查组id查询关联的检查项id

}